<?php

class stToolBarHook extends sthook_2_1 {

    public function hookCustom() {
        $method = array($this, 'showToolBar');
        add_action('wp_footer', $method, 100, 1);
    }

    public function includeExtraPlugin() {
        // default process here        
    }

    //Initialize hook function

    public function showToolBar($args) {
        $controllerName = $this->config['plugin_name'] . "Controller";
        $controllerObject = new $controllerName($this->config);
        if($this->option['toolIsShow'])
            echo $controllerObject->getAction('showToolBar', $args);
    }
}

?>